package com.wood.life.mapper;

import com.night.common.entity.life.Order;

import java.util.List;

/**
 * author: dz
 * 2022-10-20-15:18
 */
public interface OrderMapper {

    void insert(Order order);

    List<Order> getByCondition(Order order);

    Order getById(Integer id);

    void updateById(Order order);

    void deleteById(Integer id);

    List<Order> getByUserId(Integer userId);

}